Macintosh
Sample Code Notes
_____________________________________________________________________________
                                                  Developer Technical Support

#3:	SillyBalls

Written by:	Bo3b Johnson

Versions:			1.00						August 1988

Components:			SillyBalls.p				August 1, 1988
					SillyBalls.c				August 1, 1988
					PSillyBalls.make			August 1, 1988
					CSillyBalls.make			August 1, 1988
_____________________________________________________________________________

SillyBalls is a very simple application that demonstrates how to 
use Color QuickDraw.  It is about two pages of code, and it does 
nothing more than open a color window and draw randomly colored 
ovals in the window.

The purpose of SillyBalls is to demonstrate how to get quick 
results with Color QuickDraw.  It is a complete program, but it is 
very short to be as clear as possible.  It does not have an event 
loop, and it is not fully functional, in the sense that it does 
not do all the things one would normally expect from a well-
behaved Macintosh application (i.e., use an event loop, size the 
window naturally, use menus, etc.)

We recommend that you review Sample or TESample for the general 
structure and MultiFinder techniques you should use when writing a 
new application.
